package com.mwf.domain.trade.service;


import com.mwf.domain.trade.model.entity.MarketPayOrderEntity;
import com.mwf.domain.trade.model.entity.PayActivityEntity;
import com.mwf.domain.trade.model.entity.PayDiscountEntity;
import com.mwf.domain.trade.model.entity.UserEntity;
import com.mwf.domain.trade.model.valobj.GroupBuyProgressVO;

public interface ITradeOrderService {

    /**
     * 查询未支付营销订单
     */
     MarketPayOrderEntity queryNoPayMarketPayOrderByOutTradeNo(String userId, String outTradeNo);

     /**查询拼单进度*/
     GroupBuyProgressVO queryGroupBuyProgress(String teamId);

     /**锁定营销优惠支付订单*/
     MarketPayOrderEntity lockMarketPayOrder(UserEntity userEntity, PayActivityEntity payActivityEntity, PayDiscountEntity payDiscountEntity);

}
